package com.jie.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
@TableName("poem")
public class OperationLog implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private Long Id;
    /**
     * 操作人员
     */
    private String userCode;
    /**
     * ip地址
     */
    private String ip;
    /**
     * 请求类型
     */
    private String type;
    /**
     *用户操作
     */
    private String description;
    /**
     *模块
     */
    private String model;
    /**
     * 时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operationTime;
    /**
     * 状态
     */
    private String result;
}
